﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 系统常量
    /// </summary>
    public class Const
    {
        /// <summary>
        /// 星晨公司key
        /// </summary>
        public const string XC_CorporationKey = "6A75EC49-2093-4B89-950F-65E6E72746DA";

        /// <summary>
        /// 非星辰公司登录人员，默认角色
        /// </summary>
        public const int XC_DefaultRole = 14;

        /// <summary>
        /// OverallAuth系统key
        /// </summary>
        public const string OverallAuth_SystemKey = "6E746ED0-12E9-4002-9887-D84A19142304";

        /// <summary>
        /// 超级用户，可以查看所有菜单
        /// </summary>
        public static List<string> OverallAuth_SuperUser = new List<string>() { "6A75EC49-2093-4B89-950F-65E6E72746BA" };

        /// <summary>
        /// 禁止选择菜单
        /// </summary>
        public static List<string> OverallAuth_MenuKey = new List<string>() {  "380CA40B-8B62-4EBE-86D7-91AE48292F50", "380CA40B-8B62-4EBE-86D7-91AE48292F55" };

        /// <summary>
        /// 禁止关闭/操作用户
        /// </summary>
        public const string OverallAuth_NoCloseUser = "6A75EC49-2093-4B89-950F-65E6E72746BA";

        /// <summary>
        /// 禁止关闭角色
        /// </summary>
        public const int OverallAuth_NoCloseRole = 1;

        /// <summary>
        /// 主表别名
        /// </summary>
        public const string MainTableAlias = "查询时请替换成主表别名";
    }
}
